1: | from(X) | → cons(X,n__from(n__s(X))) | |
2: | after(0,XS) | → XS | |
3: | after(s(N),cons(X,XS)) | → after(N,activate(XS)) | |
4: | from(X) | → n__from(X) | |
5: | s(X) | → n__s(X) | |
6: | activate(n__from(X)) | → from(activate(X)) | |
7: | activate(n__s(X)) | → s(activate(X)) | |
8: | activate(X) | → X | |
9: | AFTER(s(N),cons(X,XS)) | → AFTER(N,activate(XS)) | |
10: | AFTER(s(N),cons(X,XS)) | → ACTIVATE(XS) | |
11: | ACTIVATE(n__from(X)) | → FROM(activate(X)) | |
12: | ACTIVATE(n__from(X)) | → ACTIVATE(X) | |
13: | ACTIVATE(n__s(X)) | → S(activate(X)) | |
14: | ACTIVATE(n__s(X)) | → ACTIVATE(X) | |